﻿using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;

namespace XRPC.Client
{
    class Program
    {
        static void Main(string[] args)
        {
            BuildWebHost(args).Run();
        }

        static IWebHost BuildWebHost(string[] args)
        {
            return WebHost.CreateDefaultBuilder()
                .ConfigureLogging((options) =>
                {
                    options.AddFilter((logLevel) =>
                    {
                        return true;
                    });
                })
                .UseUrls("http://*:12131")
                .UseStartup<Startup>()
                .UseKestrel()
                .Build();
        }
    }
}
